package com.wang.ssm.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 王瑞杰
 * date 2023/10/18
 */
@Data
public class ExamVo implements Serializable {

    /**
     * 考试
     */
    private Integer eid;

    /**
     *
     */
    private String ename;

    /**
     *
     */
    private Integer rid;

    /**
     *
     */
    @JsonFormat(pattern = "MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern = "MM-dd HH:mm")
    private Date opentime;

    /**
     *
     */
    @JsonFormat(pattern = "MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern = "MM-dd HH:mm")
    private Date closetime;
    private RoomVo roomVo;
}
